package com.itheima.test2;

public class Athlete extends Person{
    @Override
    public void eat() {
        System.out.println("吃营养餐");
    }
    private String atClass;

    public String getAtClass() {
        return atClass;
    }

    public void setAtClass(String atClass) {
        this.atClass = atClass;
    }

    public Athlete() {
    }

    public Athlete(String id, String name, String gender, String age, String atClass) {
        super(id, name, gender, age);
        this.atClass = atClass;
    }
}
